package com.kusen.village.raise.service.impl;

import com.kusen.village.raise.entity.ProductAttr;
import com.kusen.village.raise.mapper.ProductAttrMapper;
import com.kusen.village.raise.service.ProductAttrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description: 商品属性的服务层
 * @author: ghl
 * @create: 2021-12-04 21:19
 **/
@Service
public class ProductAttrServiceImpl implements ProductAttrService {
   @Autowired
    private ProductAttrMapper productAttrMapper;

    @Override
    public List<ProductAttr> getProductAttrList(Integer pid) {
        return productAttrMapper.getProductAttrList(pid);
    }
}
